package com.own.business.message.center.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.own.component.common.base.entity.po.BaseSortPo;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * MessageCenterGroupChild
 *
 * @author chenxueli
 * @date 2023-11-13 18:17:40
 */
@Schema(title = "消息中心分组子级" + ConstantBeanSuffix.PO)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "own_message_center_group_child")
public class MessageCenterGroupChild extends BaseSortPo implements Serializable {

    /**
     * 分组id
     */
    private Long fkGroupId;

    /**
     * 分组key（冗余）
     */
    private String groupKey;

    /**
     * 消息名称
     */
    private String name;

    /**
     * 消息key
     */
    private String messageKey;

}
